/*	
 *				
 *					ISNW ---- It is a war.It is not warcraft!
 *
 *
 *					Author:					zhoukeli(haxixi_keli)
 *					Filename:				ISNW_EntityBox.h
 *					CreateTime:				2008/11/27
 *					ModifyTime:				2008/11/27
 *
 */

#ifndef ISNW_ENTITYBOX_H
#define ISNW_ENTITYBOX_H

#include "../ISNW_Entity.h"

namespace ISNW
{
	class ISNW_EntityBox : public ISNW_Entity
	{
	public:
		ISNW_EntityBox();
		~ISNW_EntityBox(){}

	public:
		ISNW_VOID Render();

		ISNW_VOID Create();

		ISNW_VOID SetAspect(float aspect){m_mesh.SetAspect(aspect);}

		ISNW_VOID SetImgSrc(ISNW_StringBaby sb){
			m_texture.SetFormat(ISNW_Texture::ISNW_TEXTURE_CREATE_FILE);
			m_texture.SetFileSrc(sb);
		}

		ISNW_VOID SetAnimate(ISNW_BOOL b){m_bAnimate = b;}

	protected:
		ISNW_Mesh			m_mesh;

		ISNW_Texture		m_texture;

		ISNW_BOOL			m_bAnimate;

	};
}
#endif